# 5.1

x = 212
y = 88
if x < y :
    x, y = y, x
# print(x, y)

a = 123
b = 393
c = 112
d = 3821

if a > b:
    t1 = a
    print("a",t1)
t1 = b
print("b",t1)

if c > d:
    t2 = c
    print("c",t2)
t2=d
print("d",t2)

if t1 > t2:
    print(t1)
print(t2)


# 5.2 
'''
a = 123
b = 23

if a < b:
    print(a)
else:
    print(b)

i=input("请输入成绩：")
if int(i)>=60:
    print("及格：继续努力")
else:
    print("不及格：请认真复习，准备补考")
'''

# 5.3

s=18

if s<18:
    print("青少年儿童")
elif s<=60:
    print("成年人")
else:
    print("老年人")

# 5.4

x=11
print("奇数") if x%2 else print("偶数")

# 5.5

m=61
b=77

if m>60 and b>60:
    print("可以进入复试")
else:
    print("没有资格进入复试")

if m<60 or b<60:
    print("没有资格进入复试")
else:
    print("进入复试")

# 5.6

# 已知点的坐标(x,y)，判断其所在的象限。

x=19
y=0

if x>0 and y>0:
    print("第一象限")
elif x<0 and y>0:
    print("第二象限")
elif x<0 and y<0:
    print("第三象限")
elif x>0 and y<0:
    print("第四象限")
else:
    print("在x,y轴上")